From 49174ac1bea2f26430d9176982b4adf4f0b3dfbc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Oct 2004 19:00:47 +0000 Subject: [PATCH] Add a comment regarding cell renderers to the docs. 2004-10-01 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding cell renderers to the docs. --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-6 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtkcombobox.c | 9 ++++++--- 5 files changed, 18 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e62c55184f..b29df690f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-10-01 Matthias Clasen + * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding + cell renderers to the docs. + * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): Silently ignore info being NULL. This is unavoidable with the diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e62c55184f..b29df690f9 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2004-10-01 Matthias Clasen + * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding + cell renderers to the docs. + * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): Silently ignore info being NULL. This is unavoidable with the diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e62c55184f..b29df690f9 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2004-10-01 Matthias Clasen + * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding + cell renderers to the docs. + * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): Silently ignore info being NULL. This is unavoidable with the diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e62c55184f..b29df690f9 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2004-10-01 Matthias Clasen + * gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding + cell renderers to the docs. + * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes): Silently ignore info being NULL. This is unavoidable with the diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index e225794cc7..79c0d92621 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -4346,9 +4346,12 @@ gtk_combo_box_set_active_iter (GtkComboBox *combo_box, * @combo_box: A #GtkComboBox. * @model: A #GtkTreeModel. * - * Sets the model used by @combo_box to be @model. Will unset a - * previously set model (if applicable). - * If model is %NULL, then it will unset the model. + * Sets the model used by @combo_box to be @model. Will unset a previously set + * model (if applicable). If model is %NULL, then it will unset the model. + * + * Note that this function does not clear the cell renderers, you have to + * call gtk_combo_box_cell_layout_clear() yourself if you need to set up + * different cell renderers for the new model. * * Since: 2.4 */ -- 2.30.2